<?php
date_default_timezone_set('EST');

require('jsonobject.class.php');
echo '<pre>';
$json_in ='{"":"Blank","A":"a","B":"b","C":"c"}';
echo "json string: $json_in\n";
echo "\n\n";

echo "json_decode(*): \n";
print_r(json_decode($json_in));
echo "\n\n";

echo "json_decode(*,true): \n";
print_r(json_decode($json_in, true));
echo "\n\n";

echo "ArrayObject:\n";
print_r(new ArrayObject(json_decode($json_in, true)));
echo "\nNotice: /home/~/public_html/jsonobject/branches/error.php line 19 - Illegal member variable name
\n";

echo "jsonObject: \n";
print_r(new jsonObject(json_decode($json_in, true)));
echo "\n\n";


echo '</pre>';
?>